/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * RPG_Workstation.java
 *
 * Created on 26/10/2011, 09:57:09
 */
package clientApp.utils;

import game.mapEditor.WsAppletMapEditor;

import java.awt.CardLayout;
import clientApp.ColorPallet;

/**
 *
 * @author Gabriel
 */
public class Map_Editor_Container extends javax.swing.JPanel {

	private static final long serialVersionUID = 1L;
	
	public CardLayout panels;
	public WsAppletMapEditor editMap = new WsAppletMapEditor();
	public ColorPallet cp = new ColorPallet(this);
	
    /** Creates new form RPG_Workstation */
    public Map_Editor_Container(String size) {
        panels = new CardLayout();
        this.setLayout(panels);        
        editMap.newMap(size);
        editMap.init();
        add(editMap, "MapToEdit");
        add(cp, "ColorPallet");
    	        
    }    
    
}
